package com.tkmybatis.common;

/**

 *
 */
public class GlobalConstant {
	
	public static final String DELETE_N = "0";

	public static final String IS_FEIGN = "71f1713b4a9e4fafbd32bc9532aa1bdd1234543";
	public static final String DELETE_Y = "1";
	public static final String EXPERT_SESSION_KEY = "expert_session_key";
	
	/**
	 * Redis key,
	 * 注意：
	 * 能手动刷新的都需要在RedisKeys枚举里声明
	 */
	public static final String REDIS_CMTDICT_KEY = "REDIS_KEY_CMTDICT";
	public static final String REDIS_ORGRESOURCE_KEY = "REDIS_ORGRESOURCE_KEY";
	public static final String REDIS_CMTDICTS_KEY = "REDIS_KEYS_CMTDICT";
	public static final String REDIS_SPECIALTY_NAME_KEY = "REDIS_SPECIALTY_NAME_KEY";
	public static final String REDIS_SPECIALTY_LIST_KEY = "REDIS_SPECIALTY_LIST_KEY";
	public static final String REDIS_SPECIALTY_KEY = "REDIS_SPECIALTY_KEY";
	public static final String REDIS_ORGANINFO_LIST_KEY = "REDIS_ORGANINFO_LIST_KEY";
	public static final String REDIS_ORGANINFO_LISTTREE_KEY = "REDIS_ORGANINFO_LISTTREE_KEY";
	public static final String REDIS_ORGANINFO_KEY = "REDIS_ORGANINFO_KEY";
	public static final String REDIS_EPTSPECIALTY_LISTTREE_KEY = "REDIS_EPTSPECIALTY_LISTTREE_KEY";
	public static final String REDIS_SMAP_ORGAN_INFO_ES_SHEN_PI="REDIS_SMAP_ORGAN_INFO_ES_SHEN_PI";
	public static final String REDIS_SMAP_ORGAN_INFO_ES_NAME = "REDIS_SMAP_ORGAN_INFO_ES_NAME";
	public static final String REDIS_PERMISSION_TREE = "PERMISSION_TREE";
	public static final String REDIS_APPKEY_APPSECRET_KEY = "APPKEY_APPSECRET_KEY";
	
	/**
	 * 不能手动刷新的Redis key
	 */
	public static final String REDIS_VALID_CODE_KEY="REDIS_VALID_CODE_KEY:";

	/**
	 * 文件上传的projectId
	 */
	public static final String UPLOAD_FILE_PROJECT_ID = "EXPERT";
	/**
	 * 五期新增
	 */
	public static final String UPLOAD_FILE_VERSION_5 = "0";
	/**
	 * 来源FTP
	 */
	public static final String UPLOAD_FILE_VERSION_FTP = "2";
	
	
	public static final Integer WORKFLOW_STATUS_NEW = 0;
	
	/**
	 * 供应商类型
	 */
	public static final String USER_TYPE_SUPPLIER = "3";
	/**
	 * 专家类型
	 */
	public static final String USER_TYPE_EXPERT = "2";
	/**
	 * 采购人类型
	 */
	public static final String USER_TYPE_BID = "1";
	/**
	 * 招标人代理
	 */
	public static final String USER_TYPE_AGT_AG = "4";
	
	/**
	 * 状态
	 */
	public static final String STATUS_ENABLE = "1";
	public static final String STATUS_DISABLE = "2";

	
	public static final String Y = "Y";
	public static final String N = "N";
	
	/**
	 * 人事变更事件
	 */
	public static String HR_EVENT_ACTIONTYPE_DEPT = "1";
	public static String HR_EVENT_ACTIONTYPE_USER = "2";
	
	/**
	 * 人员状态
	 * 2冻结
	 * 1启用
	 */
	public static String USER_STATUS_DISABLE = "2";
	public static String USER_STATUS_ENABLE = "1";
	
	/**
	 * 代理机构状态
	 * 1冻结
	 * 0启用
	 */
	public static String AGPROXY_STATUS_DISABLE = "1";
	public static String AGPROXY_STATUS_ENABLE = "0";
	
	
	public static final String EXPERT = "EXPERT";
	public static final String SYSTEM = "SYSTEM";
	public static final Integer Y_INT = 1;
	public static final Integer N_INT = 0;
	
	
	/**抽取方案类型：专家**/
	public static final String EPT_EXTRACT_STYLE_EXPERT = "EPT_EXTRACT_STYLE_01";
	/**抽取方案类型：招标人代表**/
	public static final String EPT_EXTRACT_STYLE_TENDEREE = "EPT_EXTRACT_STYLE_02";
	
	/**字典父类**/
	public static final String EPT_PROJECT_STATE = "EPT_PROJECT_STATE";
	/**是否开启项目人数维护 Y：开启维护功能；N：不开启维护功能  */
	public static final String EPT_FLOW_EDIT_EXP_NUM = "EPT_FLOW_CONFIG_08";
}
